const crypto = require('crypto');
function hmacSHA256(key, message) {
  const hmac = crypto.createHmac('sha256', key);
  hmac.update(message);
  const digest = hmac.digest('hex');
  return digest;
}

module.exports = {
  hmacSHA256
}